/**
The routing of this file will not show the layout.
It is an independent new page.
the contents of the file still need to log in to access
 */
import type { AppRouteModule } from '/@/router/types';

// test
// http:ip:port/main-out
export const mainOutRoutes: AppRouteModule[] = [
  {
    path: '/main-out',
    name: 'MainOut1',
    component: () => import('/@/views/main-out/index.vue'),
    meta: {
      title: '官网',
      ignoreAuth: true,
    },
  },
  {
    path: '/main-out/:id',
    name: 'MainOut2',
    component: () => import('/@/views/main-out/index.vue'),
    meta: {
      title: '官网',
      ignoreAuth: true,
    },
  },
  {
    path: '/article-detail/:id',
    name: 'ArticleDetail',
    component: () => import('/@/views/main-out/company-article/article-detail.vue'),
    meta: {
      title: '详情',
      ignoreAuth: true,
    },
  },
  {
    path: '/goods',
    name: 'Goods',
    component: () => import('/@/views/main-out/company-goods/index.vue'),
    meta: {
      title: '推荐好东西',
      ignoreAuth: true,
    },
  },
];

export const mainOutRouteNames = mainOutRoutes.map((item) => item.name);
